var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            if (cm.isQuestActive(20850)) {
                cm.sendNormalTalk("搜索进行得怎么样了？在这附近好像没有发现变身术士。我会继续监视这里，你快去别的地方搜素。", 0, 1102205, false, true)
            } else {
                cm.dispose();
                return
            }
        } else {
            if (status === a++) {
                cm.OnStartNavigation(130010120, 0, "", 20850);
                cm.dispose()
            }
        }
    }
};